package com.health.mapper;

import com.github.pagehelper.Page;
import com.health.dto.DepartmentPageQueryDTO;
import com.health.entity.Department;
import org.apache.ibatis.annotations.Mapper;
import com.health.entity.Department;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
/**
 * 说明：
 *
 * @author XUYINGLIU 2023年03月12日19:43
 * @version 1.0
 */
@Mapper
@Component
public interface DepartmentMapper {

    Department getByDepartId(Long deptId);

    // 科室列表
    Page<Department> pageQuery(DepartmentPageQueryDTO departmentPageQueryDTO);


    List<Department> getAll();
}
